package com.finance.service.customer;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.finance.dao.customer.TaobaoConsumptionMapper;
import com.finance.entity.customer.TaobaoConsumption;

@Service("TaobaoConsumptionService")
public class TaobaoConsumptionService {
	
	@Resource(name = "TaobaoConsumptionMapper")
	private TaobaoConsumptionMapper taobaoConsumptionMapper;
	
    public void deleteByPrimaryKey(Integer tbId){
    	taobaoConsumptionMapper.deleteByPrimaryKey(tbId);
    }

    public void insert(TaobaoConsumption record){
    	taobaoConsumptionMapper.insert(record);
    }

    public void insertSelective(TaobaoConsumption record){
    	taobaoConsumptionMapper.insertSelective(record);
    }

    public TaobaoConsumption selectByPrimaryKey(Integer tbId){
    	return taobaoConsumptionMapper.selectByPrimaryKey(tbId);
    }

    public void updateByPrimaryKeySelective(TaobaoConsumption record){
    	taobaoConsumptionMapper.updateByPrimaryKeySelective(record);
    }

    public void updateByPrimaryKey(TaobaoConsumption record){
    	taobaoConsumptionMapper.updateByPrimaryKey(record);
    }
    
    public List<TaobaoConsumption> findByList(String kfUserId){
    	return taobaoConsumptionMapper.findByList(kfUserId);
    }

}
